/* Modern Minimalist Blog Design */
/* ============================== */

/* Color Variables */
:root {
    --primary: #2575fc;
    --primary-light: #e3eeff;
    --primary-dark: #1a5bc2;
    --secondary: #6a11cb;
    --success: #28a745;
    --success-light: #e6f4ea;
    --info: #17a2b8;
    --info-light: #e6f7fa;
    --warning: #ffc107;
    --warning-light: #fff8e6;
    --danger: #dc3545;
    --danger-light: #fce8ea;
    --purple: #6f42c1;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #dee2e6;
}

/* Base Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

/* Hero Section Background */
.blog-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
}

/* Text Utilities */
.text-white-60 { color: rgba(255,255,255,0.6) !important; }
.text-white-80 { color: rgba(255,255,255,0.8) !important; }

/* Spacing Utilities */
.mb-6 { margin-bottom: 4rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

/* Icon Containers */
.icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Card Enhancements */
.card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: none;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1);
}

/* Background Utilities */
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-success-light { background-color: var(--success-light) !important; }
.bg-info-light { background-color: var(--info-light) !important; }
.bg-warning-light { background-color: var(--warning-light) !important; }
.bg-danger-light { background-color: var(--danger-light) !important; }

/* Timeline Solution Layout */
.solution-timeline {
    position: relative;
    padding-left: 30px;
    margin: 2rem 0;
}
.solution-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-step {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-badge {
    position: absolute;
    left: -38px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    z-index: 2;
}
.timeline-content {
    padding: 1.25rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
    border-left: 3px solid var(--primary);
}

/* Table of Contents Navigation */
.toc-nav .btn {
    transition: all 0.3s ease;
    padding: 0.4rem 1rem;
}
.toc-nav .btn:hover,
.toc-nav .btn:focus {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
}

/* Font Size Utilities */
.fs-sm { font-size: 0.875rem !important; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.25rem;
    }
    .lead {
        font-size: 1.05rem;
    }
    .solution-timeline {
        padding-left: 20px;
    }
    .timeline-badge {
        left: -28px;
    }
    .toc-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .toc-nav .btn {
        width: 100%;
        text-align: left;
    }
    .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 2rem 1rem !important;
    }
    .icon-container {
        width: 50px;
        height: 50px;
    }
}

/* Print Styles */
@media print {
    .toc-nav, .btn {
        display: none;
    }
    .container-xl {
        max-width: 100%;
        padding: 0;
    }
    .blog-hero {
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }
    .text-white-60,
    .text-white-80 {
        color: #666 !important;
    }
}